<%@ page language="java" contentType="text/html; charset=UTF-8" %>

<!DOCTYPE html>
<html>
	<head>
		<title>衣服</title>
		<%@include file="/common/header.jsp" %>
		<link rel="stylesheet" href="${basePath }css/clotheses.css" />
		
	</head>
	<body>
		<%@include file="/common/top.jsp" %>	
		
		<s:if test="pageResult.items != null">
        <div class="_goods">
        	<s:iterator value="pageResult.items">
        		<div class="_good" onclick="toDetailUI('<s:property value="id"/>')">
	        		<img src="${basePath }img/goods/<s:property value="img" />"/>
	        		<div class="_price">¥<span><s:property value="price" /></span></div>
	        		<s:property value="name" />
	        		<div class="_place"><s:property value="place" /></div>
	        	</div>
        	</s:iterator>
        </div>
        <div class="clearFloat"></div>
        <div class="Tabbar">
        	<div class="Tabbar_constanier">
	        	<s:if test="pageResult.items.size>0">
	                 		<s:if test="pageResult.pageNo > 0">
	                            <a href="javascript:doGoPage('<s:property value='pageResult.pageNo-1'/>')">上一页</a>
	                        </s:if>
	                 	当前第 <s:property value="pageResult.pageNo+1"/> 页
	                        &nbsp;
	                        <s:if test="pageResult.pageNo < pageResult.totalPageCount">
	                            <a href="javascript:doGoPage('<s:property value='pageResult.pageNo+1'/>')">下一页</a>
	                        </s:if>
						
				</s:if><s:else>暂无数据</s:else>
			</div>
		</div>
		</s:if><s:else>
			<div style="height:500px;width:1000px;background-color:white;margin:0 auto;text-align:center;">
				<h2>未能检索到您要的商品,请再仔细核对一遍检索名称</h2>
			</div>
		</s:else>
		
		<%@include file="/common/footer.jsp" %>
		
		
		<script>
			
			var detailUrl = "${basePath}good_toClothes.action?pcategory.id=clothes01&category.id=";
			var gopageUrl = "${basePath }good_toClothesUI.action?pcategory.id=clothes01&category.id=";
		
		</script>
		
		<script type="text/javascript" src="${basePath }common/ope.js"></script>
	</body>
</html>
